package com.easyJavaDemo.enums;

public enum DateTimeEnum {
    YYYY_MM_DD_HH_MM_SS("yyyy_MM_dd HH:mm:ss"),
    YYYY_MM_DD("yyyy_MM_dd");
    private String pattern;
    DateTimeEnum(String pattern){
        this.pattern = pattern;
    }
    public String getPattern() {
        return pattern;
    }
}
